Hệ thống quản lý trường học bằng PHP / MySQLi

1 <?php
2 error_reporting(
0);
3 $conn = mysqli_connect(
"localhost","root","");
4 mysqli_select_db(
"sms2",$conn);
5 $rowCount = count($_POST[
"users"]);
6 for
($i=0;$i<$rowCount;$i++) {
7 mysqli_query(
"DELETE FROM studentstable WHERE student_id='" . $_POST["users"][$i] . "'");
8 }
9 header(
"Location:pro1.php");
10
11 ?>


Gõ tìm kiếm nhanh...